package com.netx.generics.translation;
import com.netx.generics.basic.Checker;


public class Position {

	private final int _line;
	private final int _index;
	
	public Position(int line, int index) {
		Checker.checkIndex(line, "line");
		Checker.checkIndex(index, "index");
		_line = line;
		_index = index;
	}

	public int getLine() {
		return _line;
	}

	public int getIndex() {
		return _index;
	}
}
